/**
 * Theme import
 * 样式按需引入
 * https://github.com/arco-design/arco-plugins/blob/main/packages/plugin-vite-vue/README.md
 * https://arco.design/vue/docs/start
 */
// import { vitePluginForArco } from '@arco-plugins/vite-vue';

// export default function configArcoStyleImportPlugin() {
//   const arcoResolverPlugin = vitePluginForArco({});
//   return arcoResolverPlugin;
// }
import { vitePluginForArco } from '@arco-plugins/vite-vue';

export default function configArcoStyleImportPlugin() {
  return vitePluginForArco({
    theme: '@arco-themes/vue-taolu-publishing-platform',
    importStyle: 'less',
    modifyVars: {
      'arcoblue-6': '#165dff',
    },
  });
}
